// Illustrates primitive types, operations, conversion, overflow, boolean expesssions

class PrimitiveTypes
{
   public static void main (String[] args) {
       int a;
       a = 17;
       int b = 5;
       float y;
       y = 5;
       
       System.out.println ("17 / 5 = " + (float)(a / b));
       System.out.println ("17.0 / 5 = " + ((float)a / b));
       System.out.println ("17 / 5.0 = " + (a / y));

       int z = 2147483647;
       System.out.println (z + " + 1 = " + (z+1));

       boolean result;
       result = a > b;
       System.out.println (a + " > " + b + " = " + result);
       System.out.println ("true AND NOT (true OR false) = " + (result && !(result || a < b)));

       a = 10;
       b = 10;
       System.out.println ((a > b) == !(a < b));
       
   }

}

